<div class="modal-header">
    <h4 class="modal-title">公告信息</h4>
</div>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="col-xs-12">
          <div class="form-group">
              <label class="col-xs-3 control-label">公告名称</label>
              <div class="col-xs-4">
                <input type="text" class="form-control" ng-model="info.name">
              </div>
          </div>
          <div class="form-group">
              <label class="col-xs-3 control-label">公告定时发布时间</label>
              <div class="col-xs-2">
                  <div class="input-group" datetimepicker ng-model="vm.date" options="vm.options">
                      <input class="form-control"/>
                      <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                      </span>
                  </div>
               <!-- <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="start.date" is-open="start.opened" ng-disabled="flag == 'edit'" ng-click="open(start)" placeholder="定时发布日期"/> -->
              </div>
          </div>

          <div class="form-group" style="padding:10px">
              <label class="col-xs-3 control-label">公告信息</label>
              <div class="col-sm-4">
                  <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                      <i class="fa fa-file-image-o"></i> 上传文件
                  </button>                    
              </div>
          </div>
          
          <div class="col-sm-8 col-sm-offset-3" style="" ng-repeat="item in array">           
              <div class="col-sm-4">
                  <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                  <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                  <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
              </div> 
          </div>  
         
          
      </div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


